package com.kb.design.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kb.design.entity.DesignRole;
import com.kb.design.entity.DesignTalk;

/**
 * 角色信息表(DesignRole)表服务接口
 *
 * @author makejava
 * @since 2024-01-17 15:31:33
 */
public interface DesignRoleService extends IService<DesignRole> {
    Page<DesignRole> pageList (Page<DesignRole> page, DesignRole designTalk);
    boolean save (DesignRole designTalk);
    DesignRole queryRoleByCode (String code);
    DesignRole queryRoleByUserCode (String code);
    public long deleteDeptById(Long id);
}
